package com.yeyks.mattress.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yeyks.common.param.MattressPackageConfigInsertParam;
import com.yeyks.mattress.dal.domain.MattressPackageConfig;
import com.yeyks.mattress.vo.OrderInfoMattressPackageListVo;


/**
 * <p>
 * 共享床垫套餐配置表 服务类
 * </p>
 *
 * @author yun
 * @since 2019-07-16
 */
public interface MattressPackageConfigService extends IService<MattressPackageConfig> {

    /**
     * 查询床垫套餐信息:v3.3.a
     *
     * @return
     */
    OrderInfoMattressPackageListVo packageList();

    /**
     * 新增套餐
     *
     * @param param
     * @return
     */
    Boolean configInsert(MattressPackageConfigInsertParam param);

    /**
     * 修改套餐
     *
     * @param param
     * @return
     */
    Boolean configUpdate(MattressPackageConfig param);

    /**
     * 删除套餐
     *
     * @param id
     * @return
     */
    Boolean deleteConfigPackage(Integer id);

}
